package news.dao;

import news.entity.User;


public interface UserDao {
	/**
	 * 注册
	 * @param user
	 * @return
	 */
	boolean userRegister(User user);
	
	/**
	 * 登录
	 * @param username
	 * @param userpwd
	 * @return
	 */
	User userLogin(String username,String userpwd);
}
